package com.fcgzs.sms.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


/**
 * @Auther: ljj
 * @Description:
 */
@Configuration
public class SimpleQueueConfig {

    private String queueName="yigoushangcheng.sms.queue";

    @Bean
    public Queue simpleQueue(){
        return new Queue(queueName);
    }
}
